import actionRequest from '@/utils/request.ts'

export const getHeadDemandOrder = (): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/head/demand-order',
    method: 'get'
  })
}
export const getHeadProject = (): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/head/project',
    method: 'get'
  })
}
export const getdata_table_ranking = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/demand-analysis/data-table-ranking',
    method: 'get',
    params
  })
}
export const getArea_ranking = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/demand-analysis/area-ranking',
    method: 'get',
    params
  })
}
export const getProject_ranking = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/demand-analysis/project-ranking',
    method: 'get',
    params
  })
}
export const getDepartment_ranking = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/demand-analysis/department-ranking',
    method: 'get',
    params
  })
}
export const getDomain_distribute = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/demand-analysis/domain-distribute',
    method: 'get',
    params
  })
}
export const getevaluation = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/service-quality/evaluation',
    method: 'get',
    params
  })
}
export const getfinished_overview = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/service-quality/finished-overview',
    method: 'get',
    params
  })
}
export const getfinished_operator_ranking = (params: any): Promise<any> => {
  return actionRequest({
    url: '/v1/data-operation/service-quality/finished-operator-ranking',
    method: 'get',
    params
  })
}
